package com.ihr360.payroll.model.dto.salary;

import com.ihr360.shared.entitywithlistener.NumberIdWithTimeAndCompanyId;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

/**
 * 公司薪资设置
 *
 * @author tomtao
 */
@Data
@Entity
@Table(uniqueConstraints=@UniqueConstraint(columnNames={"companyId"}))
public class SalaryCompanySetting extends NumberIdWithTimeAndCompanyId<Long> {

    /**
     * 关帐审批
     *
     */
    private boolean payPeriodApproval;

}
